package com.chris.design.pattern.samples.proxy;


public class ProxyObject extends AbstractObject {

    private RealObject proxy;

    public ProxyObject() {
    }

    public ProxyObject(RealObject proxy) {
        this.proxy = proxy;
    }

    @Override
    public void operation() {
        this.proxy.operation();
        System.out.println("ProxyObject===impl===operation");
    }
}
